home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: AutoScroll
- Sent: 6/13/96 12:56 PM
- Received: 6/13/96 1:11 PM
- From: Henri Lamiraux, lamiraux@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >1) I had wanted to implement the auto scroll in such a way that it scrolls
- >faster the father the away the user drags. It appears I can get it to
- >work for drag selection and resizing, but not for dragging content. This
- >is because the FW_CDropTracker is destroyed if the user drags outside the
- >frame. As far as I can tell, there is no way around this limitation -- is
- >that correct.
- >
-
- This would be strange. If the user tries to drag something out of your
- part (lets say on the desktop) do you want your content to continue
- scrolling while the user is looking for a place to drop? I can imagine
- that to be very annoying. You should not have any autoscrolling during a
- drag when your are outside of the frame.
-
- >2) My next thought was to implement the auto scroll the way the finder
- >does, by scrolling when the user drags over scroll bars, window TitleBar,
- >or within 15 pixels of the left edge of the window. Since the
- >AutoScrollInset is only a fixed, however, it is impossible for me to set
- >the inset on the left differently from the other 3 sides. As a future
- >enhancement, I would suggest making the inset a rect, or at least a point.
- >
- Something similar has already been suggested to me.
-
- >3) Thinking that autoscrolling to the left would be rare in my part
- >anyway, I made my AutoScrollInset -1 so that it would start scrolling 1
- >pixel outside the content view (i.e. in the scroll bars like Finder). It
- >worked fine for drag selection and resizing, but not for dragging. Any
- >idea why?
-
- Might be the same reason as in 1)
-
- ........................................................................
- Henri Lamiraux lamiraux@apple.com
- Apple Computer, Inc. OpenDoc(tm) Development Framework
- ........................................................................
-
-